<h2> Add some extra information</h2>

<div class="extra-form">
    <fieldset>
        <?php echo $this->Form->create( "Extra",array('type'=>'file')); ?>
        <div class="form-group"><?php echo $this->Form->input( "nume", array(
                "label" => "Nume",
                "class" => "form-control",
                "pattern" => "[a-zA-Z0-9 ]{5,}"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "descriere", array(
                "label" => "Descriere",
                "class" => "form-control",
                "pattern" => "[a-zA-Z0-9 ]{10,}"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "etapa", array(
                "label"   => "Etapa",
                "class"   => "form-control",
                "options" => $temele
            ) ); ?>
        </div>
        <div class="form-group"><?php echo $this->Form->input( "link", array(
                "label" => "*Link",
                "class" => "form-control"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "path", array(
                "type" => "file",
                "label" => "*File",
                "class" => "form-control"
            ) ); 
                //echo "Upload: " . $_FILES["file"]["name"] . "<br>";
			
            ?></div>
        <?php echo "<p>* fields are optional</p>"; ?>
        <?php echo $this->Form->end( array(
                                         "label" => "Add",
                                         "class" => "btn"
                                     ) ); ?>
    </fieldset>
</div>